package fifth.Method;

public class StartWith {
    /*
    判断是否以指定的字符串开头
     */
    public static void main(String[] args) {
        String s  = "startWith what to use";
        System.out.println(s.startsWith("startWith"));
        System.out.println(s.startsWith("startWitH"));
    }
}
